package com.nxy.spring.controller

import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController

@RestController
class HelloController(){

    @GetMapping("/")
    fun hello() = "hello world"

}